using UnityEngine;
using System.Collections;

public class LockPoint : Point {
	
	// ID to identify a local point in an Entity.
	public int lockID;
	public bool available = true;
	
	// Set color depending on availability.
	public void Update() {
		if (available) {
			setColorCenter(Color.green);
			setColorForward(Color.blue);
			setColorUp(Color.cyan);
		} else {
			setColorCenter(Color.gray);
			setColorForward(Color.gray);
			setColorUp(Color.gray);
		}
	}
	
}